package com.sntk.organauthomanager.application.dto;

import com.sntk.organauthomanager.infrastructure.validation.Insert;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @ClassName: OrganizationCreator
 * @author: wgchao
 * @createTime: 2020/7/20 4:53 PM
 * @Description: TODO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrganizationCreator implements Serializable {

    @NotBlank(message = "机构名称不能为空", groups = {Insert.class})
    private String institutionName;

    private String institutionalAddress;

    //对用HIS机构编号
    private String hisInstitutionNumber;

    private String remark;

    private String superiorOgi;

}
